<template>
  <!-- <div class="insert-formula" > -->
  <el-icon
    size="24"
    style="color: var(--el-color-primary); cursor: pointer; width: 24px"
    @click="emit('click')"
  >
    <Formula />
  </el-icon>
  <!-- 插入公式 -->
  <!-- </div> -->
</template>
<script setup lang="ts">
import Formula from '@/icons/Formula.vue'
const emit = defineEmits(['click'])
</script>
<style scoped lang="scss">
.insert-formula {
  display: flex;
  align-items: center;
  color: var(--el-color-primary);
  cursor: pointer;
  min-width: 100px;
}
</style>
